package top.xphu.aliyun.orc.entity;

/**
 * @author xphu
 * @version 1.0
 * @date 2021/9/6 18:14
 */
public class Text {
    /**
     * 文字区域概率
     */
    private Double prob;
    private RectPosition rect;
    private String word;

    public Text() {
    }

    public String getWord() {
        return word;
    }

    public void setWord(String word) {
        this.word = word;
    }

    public Double getProb() {
        return prob;
    }

    public void setProb(Double prob) {
        this.prob = prob;
    }

    public RectPosition getRect() {
        return rect;
    }

    public void setRect(RectPosition rect) {
        this.rect = rect;
    }

    @Override
    public String toString() {
        return "Text{" +
                "prob=" + prob +
                ", rect=" + rect +
                ", word='" + word + '\'' +
                '}';
    }
}
